@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #161616);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}

.container {
    background: #1c1c1c;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

h2 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    border-radius: 10px;
    background: #2e2e2e;
    color: #fff;
    outline: none;
    font-size: 15px;
    transition: background 0.3s ease;
}

form input:focus {
    background: #3a3a3a;
}

.criar-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4caf50, #388e3c);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}

.criar-btn:hover {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    transform: translateY(-2px);
}

.server-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.server-card {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.server-card:hover {
    background: #333;
    transform: translateY(-2px);
}

.server-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    text-align: left;
}

.server-icon {
    font-size: 20px;
}

.server-name {
    font-size: 16px;
    font-weight: 500;
    word-break: break-word;
}

.config-link {
    text-decoration: none;
}

.config-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.Apagar-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, #f44336, #d32f2f);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 10px;
}
.criar_token-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, #ff9800, #ffd700);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 10px;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.4);
}

.criar_token-btn:hover {
    background: linear-gradient(135deg, #ffa726, #ffeb3b); /* Mais claro no hover */
    transform: scale(1.05);
}

.config-btn:hover, .Apagar-btn:hover {
    transform: scale(1.1);
}

.mensagem {
    background: #4caf50;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.no-servers {
    color: #aaa;
    font-size: 14px;
    margin-top: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
    .container {
        padding: 30px;
        max-width: 100%;
    }

    h2 {
        font-size: 20px;
    }

    form input, .criar-btn {
        font-size: 14px;
        padding: 10px;
    }

    .server-list {
        gap: 10px;
    }

    .server-card {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .server-info {
        margin-bottom: 10px;
    }

    .config-btn, .Apagar-btn {
        width: 100%;
        font-size: 14px;
        padding: 10px;
        margin-left: 0;
        margin-top: 5px;
    }
}
